import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import { resolve } from 'path';
// https://vitejs.dev/config/

export default defineConfig({
  plugins: [vue()],
  resolve: {
    alias: {
      '@':resolve(__dirname + '/src'),
      'pages': resolve(__dirname, '/src/pages'),
      'vue': "https://esm.sh/vue@3.2.37",
      'assets':"/src/assets"
    },
    extensions: ['.js', '.vue', '.json'],
  },
  server: {
    port:8080,
    host: 'www.geeksheep.top',
  }
})
